package com.techstar.api.pojo.overview;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.techstar.common.jackson.StrDateDeserializer;
import org.joda.time.DateTime;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.DateTimeDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 年客流量趋势
 * @date 2021年8月9日
 */

@Getter
@Setter
@Entity
@ToString
@Table(name = "overview_yearly_traffic_trend")
@org.hibernate.annotations.Table(appliesTo = "overview_yearly_traffic_trend",comment="pbtp-1-年客流量趋势")
public class OverviewYearlyTrafficTrend {

//	@GeneratedValue(strategy = GenerationType.IDENTITY)
//	private Long id;
	@Column(columnDefinition="varchar(100) COMMENT '公共交通年客运量'")
	private String transportFlow;
	@Column(columnDefinition="varchar(100) COMMENT '公共交通年分担比'")
	private String transportRatio;
	@Column(columnDefinition="varchar(100) COMMENT '常规公交线网规模'")
	private String busTotalMileage;
	@Column(columnDefinition="varchar(100) COMMENT '轨道交通线网规模'")
	private String subwayTotalMileage;
	@Column(columnDefinition="varchar(100) COMMENT '常规公交年客运量'")
	private String busFlow;
	@Column(columnDefinition="varchar(100) COMMENT '常规公交年分担率'")
	private String busRatio;
	@Column(columnDefinition="varchar(100) COMMENT '常规公交年运力（车辆数）'")
	private String busForce;
	@Column(columnDefinition="varchar(100) COMMENT '轨道交通年客运量'")
	private String subwayFlow;
	@Column(columnDefinition="varchar(100) COMMENT '轨道交通年分担率'")
	private String subwayRatio;
	@Column(columnDefinition="varchar(100) COMMENT '轨道交通年运力（车辆数）'")
	private String subwayForce;
	@Column(columnDefinition="varchar(100) COMMENT '巡游出租年客运量'")
	private String taxiFlow;
	@Column(columnDefinition="varchar(100) COMMENT '巡游出租年分担率'")
	private String taxiRatio;
	@Column(columnDefinition="varchar(100) COMMENT '巡游出租年运力（车辆数）'")
	private String taxiForce;
	@Column(columnDefinition="varchar(100) COMMENT '网约车年客运量'")
	private String carHailingFlow;
	@Column(columnDefinition="varchar(100) COMMENT '网约车年分担率'")
	private String carHailingRatio;
	@Column(columnDefinition="varchar(100) COMMENT '网约车年运力（车辆数）'")
	private String carHailingForce;
	@Id
	@Column(columnDefinition="varchar(100) COMMENT '业务统计时间'")
	@JsonDeserialize(using = StrDateDeserializer.class)
	private String createTime;
}

